import { ref } from "vue";
import type { JiuGuessInstance } from '@/api/components.d.ts';

/* 组合式实例-猜你喜欢 */
export const useGuessList = () => {
	const guessRef = ref<JiuGuessInstance>();

	/* 触底事件 */
	const onScrolltolower = () => {
		guessRef.value?.getGoods();
	}
	
	/* 返回 */
	return {
		guessRef,
		onScrolltolower
	}
}